isEqual

fun <T> isEqual(object1: T?, object2: T?): Boolean

Determine if two objects of the same type are equal or not.

Return

True if the objects are equal, false otherwise.

Parameters

object1

Left hand side object.

object2

Right hand side object.

The type of object being compared.